package com.kingwang.training.designpattern.lod.bo.lod;

import lombok.Data;

@Data
public class Wallet {
    private Double money;

    public void addMoney(Double deposit) {
        this.money += deposit;
    }

    public void subtractMoney(Double debit) {
        this.money -= debit;
    }
}
